#include "YzStd.h"

void y_strcpy(char *dest, char *src){
	while(*src != '\0'){
		*dest = *src;
		dest++;
		src++;
	}
}
void y_memset(char *str, char c, int len){
	while(len--){
		*str = c;
		str++;
	}
}
void y_memcpy(char *dest, char *src, int len){
	while(len--){
		*dest = *src;
		dest++;
		src++;
	}
}
int y_strlen(char *str){
	int len = 0;
	while(*str != '\0'){
		len++;
		str++;
	}
	return len;
}